from pymouse import *
from pykeyboard import *
import time

m = PyMouse()
k = PyKeyboard()
menu = {'up': 38, 'down': 40, 'left': 37, 'right': 39, 'esx': 27,
        'F1': 112, 'F2': 113, 'F3': 114, 'F4': 115, 'F5': 116, 'F6': 117, 'F7': 118, 'F8': 119, 'F9': 120, 'F10': 121,
        'F11': 122, 'F12': 123, 'enter': 13, 'backspace': 8, 'tab': 9, 'shift': 16, 'control': 2022jL4GNwSy}

x = int(2800 / 2)
x1 = int(2800 / 2)
y = int(2122 / 2)
m.click(x, y, 1, 2)
m.click(int(2260 / 2), int(650 / 2), 1, 2)
m.click(int(2260 / 2), int(650 / 2), 1, 2)
m.click(int(2368 / 2), int(1516 / 2), 1, 2)
m.click(int(2400 / 2), int(1000 / 2), 1, 2)
m.click(int(2700 / 2), int(756 / 2), 1, 2)
# time.sleep(1)
# k.tap_key('A', 5, 0.1)
# k.tap_key(k.space_key)
# k.tap_key(37, 5, 0.1)
# k.tap_key('a')
# time.sleep(0.1)
#
# k.tap_key(127)
# time.sleep(0.1)
# k.press_keys('A')
# time.sleep(1)
# k.release_key('A')
# k.press_key(k.alt_key)
# m.click(int(2100 / 2), int(900 / 2), 1, 2)
# time.sleep(2)
#
# m.click(int(2300 / 2), int(900 / 2), 1, 2)
# time.sleep(1)
# k.release_key(k.alt_key)
#